package com.guaji.system.NoteAPP.data

import androidx.room.Entity
import androidx.room.PrimaryKey

@Entity(tableName = "notes")
data class Note(
    @PrimaryKey(autoGenerate = true) var id: Long = 0, // 使用自增主键，初始值为0
    var title: String,
    var timestamp: Long = System.currentTimeMillis(),
    var content: String,
    var imageUri: String? = null // 新增字段用于存储图片路径或URI
)
